<!--#layout("/common/layout.html",{"jsBase":"/js/cms/xxdItem/"}){ -->
<layui:searchForm formId="searchForm"  condition="${search}">
</layui:searchForm>

<div class="layui-btn-group">
    <layui:accessButton function="cms.xxdItem.add"  action="add">新增</layui:accessButton>
    <layui:accessButton function="cms.xxdItem.details"  action="details">详情</layui:accessButton>
    <layui:accessButton function="cms.xxdItem.edit"  action="edit">编辑</layui:accessButton>
    <layui:accessButton function="cms.xxdItem.down"  action="down">下架</layui:accessButton>
    <a href="${ctxPath}/core/file/downloadTemplate.do?path=${templatePath}" class="layui-btn layui-btn-primary">模板下载</a>
    <layui:accessButton function="cms.xxdItem.import"  action="importDocument">导入商品</layui:accessButton>
    <layui:accessButton function="cms.xxdItem.export"  action="exportDocument">导出excel</layui:accessButton>
</div>

<table id="xxdItemTable" lay-filter="xxdItemTable"></table>
<!--#} -->
<script>

layui.use(['index'], function(){
    var index = layui.index
    index.init();
});

</script>
